home *** CD-ROM | disk | FTP | other *** search
/ The Very Best of Atari Inside / The Very Best of Atari Inside 1.iso / mint / mintmant / finstat.txt < prev    next >
Text File  |  1992-03-24  |  791b  |  64 lines

  1. Finstat(2)                Oct. 1, 1991                 Finstat(2)
  2.  
  3.  
  4.  
  5. NAME
  6.      Finstat - determine input status for a file
  7.  
  8. SYNOPSIS
  9.      LONG Finstat( WORD fh );
  10.  
  11. DESCRIPTION
  12.      Finstat returns the number of bytes of input waiting on  the
  13.      file  whose  GEMDOS handle is fh, or 0 if no input is avail-
  14.      able on that handle.
  15.  
  16. RETURNS
  17.      0 or a positive number if successful
  18.  
  19.      EIHNDL if fh is not a valid handle for an open file.
  20.  
  21. SEE ALSO
  22.      Cauxis(2), Cconis(2), Fcntl(2), Foutstat(2)
  23.  
  24. BUGS
  25.      Always returns 1 for disk files.
  26.  
  27.      Doesn't check to see if the indicated file  was  opened  for
  28.      reading.
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60. Version 0.9   Last change: MiNT Programmer's Manual             1
  61.  
  62.  
  63.  
  64.